Automatic Diierentiation of Numerical Integration Algorithms

نویسندگان

  • Peter Eberhard
  • Christian Bischof
چکیده

Automatic diierentiation (AD) is a technique for automatically augmenting computer programs with statements for the computation of derivatives. This article discusses the application of automatic diierentiation to numerical integration algorithms for ordinary diierential equations (ODEs), in particular, the ramiications of the fact that AD is applied not only to the solution of such an algorithm, but to the solution procedure itself. This subtle issue can lead to surprising results when AD tools are applied to variable-stepsize, variable-order ODE integrators. The computation of the nal time step plays a special role in determining the computed derivatives. We investigate these issues using various integrators and suggest constructive approaches for obtaining the desired derivatives.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Fad and Spg for Optimal Control

Automatic diierentiation and nonmonotone spectral projected gradient techniques are used for solving optimal control problems. The original problem is reduced to a nonlinear programming one using general Runge-Kutta integration formulas. Canonical formulas which use a fast automatic diierentiation strategy are given to compute derivatives of the objective function. On the basis of this approach...

متن کامل

On Automatic Diierentiation 1 on Automatic Diierentiation

In comparison to symbolic diierentiation and numerical diierencing, the chain rule based technique of automatic diierentiation is shown to evaluate partial derivatives accurately and cheaply. In particular it is demonstrated that the reverse mode of automatic diierentiation yields any gradient vector at no more than ve times the cost of evaluating the underlying scalar function. After developin...

متن کامل

On Automatic Differentiation

In comparison to symbolic diierentiation and numerical diierencing, the chain rule based technique of automatic diierentiation is shown to evaluate partial derivatives accurately and cheaply. In particular it is demonstrated that the reverse mode of automatic diierentiation yields any gradient vector at no more than ve times the cost of evaluating the underlying scalar function. After developin...

متن کامل

Efficient Derivative Codes through Automatic Differentiation and Interface Contraction: An Application in Biostatistics

Developing code for computing the rst-and higher-order derivatives of a function by hand can be very time-consuming and is prone to errors. Automatic diierentiation has proven capable of producing derivative codes with very little eeort on the part of the user. Automatic diier-entiation avoids the truncation errors characteristic of divided diierence approximations. However, the derivative code...

متن کامل

Application of Automatic Diierentiation to Groundwater Transport Models

Automatic diierentiation is a technique for generating eecient and reliable derivative codes from computer programs with minimal human eeort. Derivatives of model output with respect to input are obtained exactly. No intrinsic limits to program length or complexity exist for this procedure. Calculation of derivatives of complex numerical models is required in system optimization, parameter iden...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1996